import Cookies from 'vue-cookie'
const TokenKey = 'PasswordId'

export function getToken() {
  return Cookies.get(TokenKey)
}

export function setToken(token) {
  Cookies.set(TokenKey, token, 60 * 60)
  return 1
}

export function removeToken() {
  return Cookies.delete(TokenKey)
}
